package com.infinitegroup.findmystuff.models;

import java.util.List;
import java.util.Map;

/**
 * The interface through which the presenters involved with administrators can control the backend. 
 * The interface allows much greater flexibility than 'Account' in controlling information.
 * 
 * @author Rohit
 *
 */
public interface Admin extends Account{
	
	/**
	 * Returns a list of all locked accounts.
	 * @return
	 */
	public List<Map<String, String>> getLockedAccounts();
	
	/**
	 * Unlocks an account associated with a particular username. 
	 */
	public void unlockAccount(String userid);
	
	/**
	 * 
	 * @param firstName
	 * @param lastName
	 * @param email
	 * @param username
	 * @param password
	 * @param phone
	 * @param zipcode
	 * @param active
	 * @return
	 */
	public long registerNewAdmin(String firstName, String lastName, String email,
			String username, String password, String phone, String zipcode,
			boolean active);
	

	public void deleteAccount(String username);

}
